home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / doorstmp.zip / DOORSTMP.TXT next >
Text File  |  1992-07-10  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.           DOORS.TMP
  8.           ---------
  9.  
  10.           Whenever TriBBS runs a door, it saves a number of variables  to a
  11.           file called DOORS.TMP in the  node's NWORK directory.  The format
  12.           for this file is as follows:
  13.  
  14.           Byte           Data Type      Description
  15.            1 to   2      int            The caller's baud rate.  0  if it's
  16.                                         a local logon.
  17.            3 to   4      int            Error  correcting  connection flag.
  18.                                         TRUE   (1)   if   it's   an   error
  19.                                         correcting connection or  FALSE (0)
  20.                                         if  it  isn't an  error  correcting
  21.                                         connection.
  22.            5 to   6      int            The  caller's   record  number   in
  23.                                         SERS.DAT.
  24.            7 to   8      int            The  number of  minutes the  caller
  25.                                         had remaining at logon.
  26.            9 to  10      int            ANSI  flag.   TRUE (1) if  the ANSI
  27.                                         color graphics  is on or  FALSE (0)
  28.                                         ANSI is off.
  29.           11 to  12      int            The caller's current file area.
  30.           13 to  14      int            The   caller's    current   message
  31.                                         conference.
  32.           15 to  18      long           The  system  time, in  seconds,  at
  33.                                         logon since 00:00:00 GMT, 01/01/70.
  34.           19 to  20      int            TRUE  (1)  if BBS.EXE  was  started
  35.                                         with  the /F  command line  switch.
  36.                                         FALSE (0) otherwise.
  37.           21 to  22      int            Baud rate that  was passed with the
  38.                                         /F command line switch.
  39.           23 to  24      int            TRUE  (1)  if BBS.EXE  was  started
  40.                                         with  the /H  command line  switch.
  41.                                         FALSE (0) otherwise.
  42.           25 to  26      int            User status window flag.  TRUE  (1)
  43.                                         if the user  status window is being
  44.                                         displayed.  FALSE  (0) if the  user
  45.                                         status    window     isn't    being
  46.                                         displayed.
  47.           27 to  28      int            The number of  minutes remaining as
  48.                                         passed  by  the   /T  command  line
  49.                                         switch.
  50.           29 to  30      int            This value indicates where the door
  51.                                         is being run from.  This is subject
  52.                                         to   change  so   it  will   remain
  53.                                         undocumented.
  54.           31 to  32      int            Chat requested  flag.  TRUE  (1) if
  55.                                         the  caller has  requested a  chat.
  56.                                         FALSE  (0)  if  the  caller  hasn't
  57.                                         requested a chat.
  58.           33 to  34      int            Event  flag.     TRUE  (1)  if  the
  59.                                         caller's time has  been adjusted by
  60.                                         an upcoming event.  FALSE (0) if an
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.                                         event isn't pending.
  74.           35 to  36      int            Goodbye flag.  TriBBS  sets this to
  75.                                         FALSE  (0) when if runs a door.  If
  76.                                         it has  been changed to  a non-zero
  77.                                         value  by  the  door,  TriBBS  will
  78.                                         assume that the caller wants to  be
  79.                                         logged off.
  80.           37 to 256      char           Dummy padding.   This is set to all
  81.                                         zeros by  TriBBS and  is added  for
  82.                                         compatibility with future versions.
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.